The classic problem when filling the water tank with a jug is that water can get into the bean container. This may cause the grinder to become clogged the next time coffee is made. If the machine is left standing for a while, mold can quickly form.
Please clean the grinder immediately if this happens and be careful not to fill the water tank directly above the bean container.