Added fix for create colletion issue