reverted localhost testing hack