Remove compact and fixes #43