removed bad logging