set action only if it is not set