fixed some compiler hints