Remove unnecessary base path