Fix for duplicated resource #17