fix phpdocs and copyright