change white space method to post date method