Moved debug for parameter in a more appropriate spot.