more work on compile issues