make sure path is relative