Fixed bug with deprecated express method