Remove endcode from import db data