fixing pictures/pin creation