Clean up for pull