fixed logger and rendering pages