removed printstacktrace for release