fix issue in multi pages web pages