Fix base path error