better drawing rules to prevent scribbles