check if modulestore is instantiated...