replaceLine() and replaceLineCase() are now golden but still show warnings