Fixed reload and http bug