add strict dev environment detect