fixed issue with static shape equality