fixed bug for extended with