add keyowrd for arrray constructor
fix hp/sp bug