fix logger
enable serialization