sample types bug fixed