fix #1, parse arrays