fixed both errors after sphinx build