fixed connection bewteen pages