removed unnecessary Mode::installation() check