minor changes to fix redisinsert
minor changes to fix wpm loading