Adding debug mode in the init function and get the preant settings.
Re arrange the scehma, and get the parent settings.