Fixed argument check