PHP Notice: Undefined index: parameters

Fix issue 132