found the error. more debugging