When I start electrodeposition from chitosan dissolved in acetic acid, I get some yellow to dark products mixed with the hydrogel deposited on the WE. The confusing part is that I repeat electrodeposition from the same stock of solution an hour later and I get pure hydrogel without any black deposits. I was wondering if anybody can help me with the reason?