fix label toUpperCase
fold goal nodes
fix folding