compile fixes, still not working