fixed logging string