bug fix on thread safety issue for SimpleDateFormat