RF-13224: fix resource generation