roll back char to int