Fixed a minor bug causing a crash, incr. version