fixed schema location string building