fixing picture upload