remove unused source
enable piece parent-swap functionality