Fix incorrect property accessing.