fixes version comparison issue #285