remove duplicit definitions