fix #22: Handle beta versions.