fixed out put for beginRaw