fixed check for key-only arguments without value