fixed crashing with null statuses