optimize the code of read more