init: try to workaround buggy for loop