remove double rendering for flash actions