make argument check accept string or symbol style keys