fixed cube metadata issue