some syntax mistakes corrected in data.lua