fixing directory path