fixed error if off the line