update and add dual likelihood

without this line it will work efficient but memory checker will complain!