fixed empty request bug