Potentiometers unstable values

Ok.. I'm going to start the "refactoring". I have a doubt, is it correct if I wire the grounds in this way?

thanks