MAINT: fix exists calls