Fixed 'wrong-type-argument listp bsd' error.