Fixed unwanted end