fixed api path error
fixed environment loader
fixed page state