Fixed Log problem