$searchname --> $username

Fix a few I missed