making is_dev actually work properly