[type] undefined variable