applied consistent code formatting
fixed inferring of values of custom parameters