Removed duplicated logging