more debugging - think its fixed