bug fix: locations
minor fix in builtin error