Remove compact and fixes #43
Merge pull request #44 from harikt/remove

Remove compact and fixes #43