fixing date issue on user side