fixed issue with store not doubling correctly