dealt with bug