fixed empty subject corner cases
added gitignore