fix insert statement to support derby