fix for insert that inserts no data