fixed: throwing exception