Fix for dumb bugs with probability and non-void function