remove require and constant