remove motion bitmapArray old code