removing redundand lines in base selection service