Fix NB parent compiling