prevented drop above root
simplified