fix dev flag