Got rid of compiler warnings