* Microfixes

Fixed mask creating by [] access
Fixed double definition for local variable