0.2.1 fixed missing empty array check