bugfix, bad insert statement