restore resource values to default again