Fix setCover bug