Fixed Logger error