Prevent double badArgument exception