added reload and removed bug