fix ruby basic syntax