fixed adding a resoure file