cleaned up qpio