fixed bug of staying at the same rubic after message was deleted