minor, and fix to prev