fixed a few bugs, added correct heat map timestamp format