avoid null playlist crash