minor code improvement
Wrapping flags backwards!
Update for ModeLReader api