fixed smal insert mysql bug