fix code reporting