fixing base URL issue