models: fixed argument-handling in php-files