memory system fix, angle script has crash bug needs to be fixed.