fixing local bind issue