some fixes for finding implementations