Removed bad lines and fixed vale errors.