fix behavior of chsh command