compiler warnings solved