back toString method to resource