Fixed "w" command