removed trailing comma and fixing a failing spec