fixes doc's bug