found prefix bug and fix for #226