fixed call to log_prob