fix page link error if language doesnt exist