fixed null issue from get-items