Clean a bit - make sure the input exists to try and set it.