Prevent stack error
Fix spelling errors