Fixing bug for two block-level space needed consecutive elements