factor show in application controller, FIXME ugly