fixed: missing variable
changed phpdocs block