Fixed bug with pics