fix resourceinterface