Fixed calling robot functions