fixed crash on incorrect block removing