use string for date attr since it had some issues with date