fix fos upload image and dependencies