made refs absoulte and updated sanitization