dirty fix for subs not accessing perl variables.