fix using required