Dont crash when moving up on first line