fixed postgresql insert bug fixed