fixed more compatibility function calls