Argument "A" isn't numeric in numeric eq (==)