type issues in some rare cases