removed unused code
changed get-message check
fixed crush when update slot value during command