fixed synapse pointer bug