Fixed automatic mode getting custom value