making poly more robust