moved position of try...catch block. hope to find more useful infomation about the mother fucking bug