fixing localhost revert