fix exception in setup process
formatting