fixed some compile stuff