fixed undifined var beging passed
Merge pull request #462 from shutter111/development

fixed undifined var beging passed