Little fix on prev