removing compiler warnings