fixed proxy functionality