change array to [] in html helper