Removed buggy logging