small fix to advisor