namespace for resources problem fixed