Report bugs in ZIM. Also see ZIM Tips which lists solutions to issues.
If you are unsure if there is a bug, you can ask in Questions - or here. It is not a big deal ;-). Try and simplify the code and show us the code so that we can easily test. Thank you!