fixed bug with active record timestamps