all compilation problems fixed