Fixed some warning