remove reset linenumber because of deprecation