fix #3, potential missing resource