synapse: cleanup some stuff