fixes ga code condition