fixed png save issue