Handling the picture url assignment error