bug fix spam test