mobile rendering issues
fix bug on array splicing