clear up the return value of enablePrefix and disablePrefix