removed unused code in mod_trell