finished fixing the auto