use path to resolve platform dependant issue