Fixed error in doc generation