fix compile errors with sky