fixing a bug of conversion to array when having featured and recommended ad at the same time