fix bug building zip archive