refresh message every 5 seconds , no alert when reading message
add boundary check