made things release after error