Fix miss and error requires