updated to newest version on wordpress plugin directory, fixed pass by reference