fix save file name in to database