fixing the error: invalid indirect of raw