Make safer convert