Fix outlet and compiler warning.