fixed logging methods