fixing selector scope

changing scope to element from 'body'