fixed swap.c and wondrous.c