Fixed call to set caps