fix bug in get_current_conf, dont know why cannot import current_app globally