fixed to adapt to new coolog