fixing type thing in docs