trying to fix double entry on time