also compensate in the output layer