Added a check.

limited the value of dotted in block.