fix block class