I just got the same error, and I solved the problem in your way. Thanks a lot.