add BASE_PATH to relative urls