Fix AB flags Thanks @Raydor closes #4