fixing login buy request bug