fix to not use a page reload if new