Add some warn and error msg to help find problem