fixed some calls to missing functions