Fixed some register clobbering operations