fix issue #21
version bump to 0.5.2