Fix dereferencing