Fixed upload images error