fix fread  to rb open ?!!!