protect from potential missing files if generated from macros