fixed makepath