fixed some completely pointless compiler warnings