some small mistakes
php-part is now able to recognize errors