Fix call controller twice issue and fix the image uploader.