temporary fix for detecting motion in dark noise