Remove a unnecessary reload and formatted some code style like space and extra curly {}