some fix for automation