fixed bugs on page