change the code for isExtender
do bugs