work-in-progress fix for the bias layers