Bug fix for dereference.