fixes to prev