left date format and lonng id issue