Resize to try/catch