remove hard coded array lengths from specs