Fixes typos from conversion to concise code