fixing relative path problem using base_url