fix lunch apply patches