fixed check user which caused path issues