handled issues with jumping