fix for automation