fixed capp undeployment issue in remorte server