Cannot convert null to 'int' because it is a non-nullable value type