fixed mysql database insert