fixed a quick bug https://github.com/Themekraft/Custom-Community/issues/224 thanks to seanfeit ;)