Resource cost fix