cleanup temp
Fixed cycles