BUGFIX: for single spectrum