changed unexpected cd behaviour when not given parameter, not goes home