fix for doc generation