Fix dedent-before-eof issue