fixed random backend failure by setting shape