Fixed compile err