errors with temperature check regex.