fixed bugs and made pic page