changing path definition
disabling arrow keys