fixed duplicated entries in my history page