changed tactics use def userId and let groovy autobox