put window-name as the last option for storage