throw useful exception on malformed . forms