fixed usage of outdated express api