Fixed 'unfold' bug