small fixes on resources