Smoother handling of arguments error