Fixing extend reference