Cleanup of remove from arr