Changed checkPerm

Commented out not needed line.