fix bearer and url