fix for null pictures