in reply to unexpected use lib behavior

well, you don't show your code where you use survey;. are you doing this before the use lib line maybe?