Move Error Text calculation inside error block