[fix] use the new constructor syntax