fix compile error and asset pack