corrected error in insert that resulted in 'null' titles