resource and action default to null