control block handling rewrite