fixed a type in a require