added bug in ccode and bugs in autosar