removing res directory