fix: proper condition