fixing bug in afk command