edits to fix width=0 issue