fix bug with releases resources
fix writing in file bug