Fixes typos and requireing problem