fixed extra comma issue