fixed some compiler things