fixed a line of melt() which allows the temporal pattern figures to work