Remove useless join