fixed bug with hasPrevious