modding api fix