fixed issue with dev flag