Cortex A7 optimization and fixed a bug