fixed delta robot code to check whether or not the lookup is set