Fixed undefined variable $skills