minor whitespace cleanup in ace function