fixed try ... catch woes