fix block config