fixed: throwing error