improve isInEmptySound