fix spacing in window