Prevent path error