fix for when php parameter does not exist