overcome some compiler warnings