fix home and end for linux