how to set correct input and output levels