detail ajax, minor view fix