some fixes: try...except