After an FIR was registered against AAP candidate Amanatullah Khan, Delhi Police said on Wednesday that they were doing election canvassing and were violating the Model Code of Conduct put in place for the Assembly elections in the national capital.