form from controller to formtype, slug error fix