fix for creation of some resources via new() method