Possibly fixed compile bug in dereferencing