try to set relative path to resources