Fix robot actions

check if display exists