bug was due to my edit function, centered title