took the location.reload out