Fixed bug, with try exception