fixed the issue in robot template