thanks to @scottsmith130 for this bug catch