better error reporting
remove extra line