fix gate of dark noise emittion