fixed major breakage with require