fixed bug in home command