minor formatting
bugfix & test