added some warn prints