proxy bugfixing