fixed bugs with page 4