fix bug in NileadWebBundle class