Fixed flag problem, problem still unknown.