error using || operator