fix print function
fix raises
fix excepts
clean up last few issues