fixed issue in extend code;