fix width of log box