fix block formatting