fixed bug in userBlock method