handle args correctly