fix loadwordsfromfile