bugfix carlogic