fixed php-unit crashs
small date fixes