fixed bug for override: