fix problem with viewRaw