collapse locals