Param defined as type ?int is not null nor an integer