error handling in includes