adding is_dev protections