modified massrepeat behaviour, better handling of spam pattern