fix function trying to evaluate number parameters as scope variables