Modified factory creation error messaged Fixed #2