snap_in: fixed small bug with agent/agency input