removed trailing , from array