fix return path if no recompiled resource