fixing bug in lmowf-v1 for long passwords