fix for php 5.3 compatability went wrong.. fixed now.