need to clear empty array values