bugfix dependencies; update formatting