apply in wrong directory