fixed shard_ui.lua

fixed error in guard.lua