Attempted to fix a bug.