Fixed wrong comma position and added a missing else