fixed weird error w/ suggestion by @kkoopa