removed page refreshing