Fix base path variable