removes some compiler warnings