Uploaded a "v1.1" version of both source files with this fix applied. Let me know if there's any more problems.
It worked properly after replacing it. Thanks. and love your work!