fix disable on not development environment