fixed API build