fixing thrown exception