optimizer check support rewrite 
Merge pull request #18 from vuthao/develop

optimizer check support rewrite