changed image field to nullable