Fixing view_content ajax errors.