apply preservecwd property