small fix and bump version to 0.5.2