fixed validation exception - thanks steven