a little hiddenlayer cleanup