only use action if it is set