sqlite insert bug fix

move model init function to _construct