fix basic ruby mistake