Fix for adflags