Fixed wrong parent template