fix resourse