comment out parts with undefined variables
fix trace plot for unwindowed FK