fix contructor and change ressource