fixed a bug (found by LineLiar (YAY FOR HIM))