fix doc handling