fix splitting blocks