Remove duplicated lines to fix build