changed null values to 0