fix for blocks if an object is passed instead of an array to initiliaze.