fix save containing pattern steps
fixes #54