Fix variable underscore pattern bug