Fixed some warning.