bug fixed: 1452 error when creating new word > when inserting values into mysql