file encoding fix
operator scale initialization