Fixed bug with handling exception