hack solution for null values