fixed some warrns