fixes and changed perception/action diagramm