fixed small confusion between Ruby and JAVA