fix block orientation