fix empty .rb file opening