allow null
fix unit test