fix deprecated express api