fixing alert example when setting multiple values