fixes the the scope documentation