Fixed endpoint namespace issue