Fixed small prefix bug