Fixed an issue happening when custom parameters were not included