fixed picker#directory()