Bug fix in Dev Flag