modified some warning