resize recoveryimage to fix compile error