fix for require and bootstrap