replace working except for replacing with space since that key is reported imporperly