Bugfix: version check caused crash