corrected bug which made robotInterface crash + cleaning