potential RawFrm fix. needs to be tested