fixed dev_mode static issue