moved convert_alpha