world optimization

removes unnecessary get_agent calls