fixed at goal logic and deactivating controller