location formatting, errors