robot bugfixes and astyle