fix all warnings, modify timestamp to float