Fixed integer conversion issue (forgot .to_i before putting data)