resolved some API warnings