fix reposition cover warning