fixed collection script