fixed timestamp bug && attribute bugs