fix doc errors
make grale build work for others.