remove messages after 4 seconds as hook