add check for null values in criteria
bump version to 0.3.1