added work-around for resources issue