taking into account empty string proxy