fixed a bug with a getResourceAsStream for outputsapplication