first attempt at fixing pictures