fixing extend