fixed weird bug in PHP <5.3. fixes #74