fixed insert for log of offenses