Fixd the warnings