removing some compiler warnings