compile fixes