fixed some autolooting stuff