fix bug in composite states actions