zip functionality fixed