fix compilation + remove duplicate in src

Authored by jjazeix on Feb 4 2020, 7:32 AM.