fix many compilation bugs :|